From 6caca1c06b7ccdda9644c15543a7bce09466c730 Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 3 Jul 2006 01:36:14 +0000 Subject: [PATCH] Remove C99-ism from gbser_posix.c --- gbser_posix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gbser_posix.c b/gbser_posix.c index 0aec64128..2f4cd8836 100644 --- a/gbser_posix.c +++ b/gbser_posix.c @@ -137,8 +137,9 @@ gbser_read(void *handle, char *ibuf, int size) char *c; char tbuf[256]; char *tp = tbuf; -ibuf[0] = 0; gbser_posix_handle *h = (gbser_posix_handle *) handle; + + ibuf[0] = 0; assert(h->magic == MYMAGIC); // n = read(h->fd, ibuf, size); -- 2.30.2